package top.mhtools.pigeon.common.persistence;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.util.List;
import java.util.Map;

/**
 * 简单发送消息入参
 *
 * @author machen
 * @date 2020/5/27 20:31
 */
@Data
public class SimpleSendMessageReqDTO {

    @NotEmpty
    @ApiModelProperty(value = "发送消息平台")
    private String sendType;

    @ApiModelProperty(value = "密钥")
    private String token;

    @ApiModelProperty(value = "发送消息标题")
    private String title;

    @ApiModelProperty(value = "发送消息内容")
    private String content;

    @ApiModelProperty(value = "发送指定人员")
    private List<String> sendTo;

    @ApiModelProperty(value = "模板ID")
    private String templateId;

    @ApiModelProperty(value = "搭配模板使用")
    private Map<String, Object> textMap;

}
